package com.yangyu.mapper;

import com.yangyu.pojo.BlogTag;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author
 * @version V1.0
 * @Package com.yangyu.mapper
 * @date 2021/1/16 17:03
 */
@Repository
public interface BlogTagMapper {

    int addBlogTags(@Param("blogTags") List<BlogTag> blogTags);

    int deleteBlogTagsByBlogId(@Param("blogId") long blogId);
}
